﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Web.Mvc;

namespace MvcEngine.Mvc.Results
{
    public class RssResult : ViewResult
    {
        public override void ExecuteResult(ControllerContext context)
        {
            TempData = context.Controller.TempData;
            ViewData = context.Controller.ViewData;

            base.ExecuteResult(context);
            context.HttpContext.Response.ContentType = "application/xml";
        }
    }
}
